package com.atguigu.springcloud.alibaba.dao;

import com.atguigu.springcloud.alibaba.domain.Torder;
import org.apache.ibatis.annotations.Param;

public interface TorderDao {
    int deleteByPrimaryKey(Long id);

    int insert(Torder record);

    int insertSelective(Torder record);

    Torder selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Torder record);

    int updateByPrimaryKey(Torder record);

    void create(Torder order);

    void update(@Param("userId") Long userId, @Param("status") Integer status);
}